<template>
  <div>
    <el-button type="primary"
               @click="showFlag=!showFlag">按钮</el-button>
    <transition name="el-zoom-in-top">
      <div v-show="showFlag">
        <pir-view :srcList='srcList'></pir-view>
      </div>
    </transition>
  </div>
</template>

<script>
import PirView from '../views/components/PirView'
export default {
  name: 'TestView2',
  data () {
    return {
      srcList: [
        'http://img16.3lian.com/gif2016/q16/64/66.jpg',
        'https://img16.3lian.com/gif2016/q16/64/61.jpg',
        'https://img16.3lian.com/gif2016/q16/64/62.jpg',
        'https://img16.3lian.com/gif2016/q16/64/63.jpg',
        'https://img16.3lian.com/gif2016/q16/64/70.jpg'
      ],
      showFlag: false
    }
  },
  components: {
    PirView
  }
}
</script>

<style scoped>
</style>
